package com.dongdongshop.service.content_category;

import com.dongdongshop.pojo.content_category.TbContentCategory;

import java.util.List;

public interface ContentCategoryService {
    List<TbContentCategory> listContentCategory();

    List<TbContentCategory> listCategory(String name);

    int insert(TbContentCategory category);

    TbContentCategory getCategoryById(Long id);

    int updateCategory(TbContentCategory category);

    int deleteCategory(Integer[] ids);
}
